wayland: Implement minimization
authorMatthias Clasen <mclasen@redhat.com>
Wed, 18 Nov 2020 00:57:56 +0000 (19:57 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 18 Nov 2020 00:57:56 +0000 (19:57 -0500)
commit3f1bc740e43e1c9c07b85eb92bcb51254a07fe8b
tree0f953efe84327a4d2fc7bbbba9a0264516e83f7f
parentb635736ac2ec78dcaeb78babe2c1716ef2468c65
wayland: Implement minimization

Use the set_minimized method of the xdg_toplevel
interface to implement minimization as well as possible.
It is not possible, since there is no corresponding
state that we could use to update our surface state,
but in practice, it works well enough.

Fixes: #2688
gdk/wayland/gdksurface-wayland.c